package com.voxel.sense.infomsg.module.firm.details.average;

import com.example.com.common.app.BaseContract;

/**
 * Created by ChenYiYao on 2018/10/30.
 * des :
 */
public interface DataAverageContract {
    int VALID_DAY_AVG = 0; //有效日均值
    int DAY_AVG = 1;//日均值
    int MONTH_AVG = 2;//月均值
    int YEAR_AVG = 3;//年均值

    interface Presenter extends BaseContract.Presenter {

        /**
         * 加载更多
         */
        void doLoadMore();

        /**
         * 加载更多
         *
         * @param id        查询id
         * @param startTime 查询开始时间戳
         * @param endTime   查询结束时间戳
         */
        void doRefresh(String id, int type, String startTime, String endTime);
    }

    interface View<ViewMode> extends BaseContract.RecyclerView<Presenter, ViewMode> {
    }

}
